package com.ronglian.iot;


import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableCaching
@EnableAsync
@EnableTransactionManagement
@ComponentScan({"com.ronglian.iot.*"})
@MapperScan("com.ronglian.iot.modules.*.mapper")
public class DataBootstrap {
    public static void main(String[] args) {
        new SpringApplicationBuilder(DataBootstrap.class).run(args);
     }
}
